﻿using BCCommon;
using BCDto.OA.Notification.NotificationTransferRecord;
using System.Collections.Generic;

namespace BCService.OA.Notification.NotificationTransferRecord
{
    /// <summary>
    /// OA系统通知记录移交记录
    /// </summary>
    public interface INotificationTransferRecordService
    {
        #region  成员方法
        /// <summary>
        /// 是否存在此记录
        /// </summary>
        /// <param name="notificationTransferRecordId">OA系统通知记录移交记录Id</param>
        bool Exists(long notificationTransferRecordId);
        /// <summary>
        /// 添加OA系统通知记录移交记录
        /// </summary>
        /// <param name="requestDto">OA系统通知记录移交记录信息</param>
        NotificationTransferRecordDto Add(NotificationTransferRecordRequestDto requestDto);
        /// <summary>
        /// 更新OA系统通知记录移交记录
        /// </summary>
        /// <param name="putDto">OA系统通知记录移交记录信息</param>
        NotificationTransferRecordDto Update(NotificationTransferRecordPutDto putDto);
        /// <summary>
        /// 删除OA系统通知记录移交记录
        /// </summary>
        /// <param name="notificationTransferRecordId">OA系统通知记录移交记录Id</param>
        bool Delete(long notificationTransferRecordId);
        /// <summary>
        /// 获取OA系统通知记录移交记录
        /// </summary>
        /// <param name="notificationTransferRecordId">OA系统通知记录移交记录Id</param>
        NotificationTransferRecordDto GetEntity(long notificationTransferRecordId);
        /// <summary>
        /// 获取OA系统通知记录移交记录列表
        /// </summary>
        IEnumerable<NotificationTransferRecordDto> GetList();
        /// <summary>
        /// 获取OA系统通知记录移交记录分页列表
        /// </summary>
        /// <param name="pageIndex">当前页码</param>
        /// <param name="pageSize">OA系统通知记录移交记录每页数据条数</param>
        PageableList<NotificationTransferRecordDto> Query(int pageIndex, int pageSize);
        #endregion  成员方法
    }
}
